{% extends 'user-base.html' %}    
{% block active2 %}
<li><a href="{% url 'user:usercenter' %}">个人资料</a></li>
<li><a href="{% url 'user:my_course' %}">我的课程</a></li>
<li><a href="{% url 'user:my_fav' %}">我的收藏</a></li>
<li class="active2">
<a href="{% url 'user:my_message' %}" style="position: relative;">
我的消息
</a>
</li>
{% endblock %}
{% block right_content %}
    <div class="right" >
		<div class="personal_des Releasecont">
			<div class="head">
				<h1>我的消息</h1>
			</div>

		</div>
		<div class="personal_des permessage">
			<div class="head">
				<ul class="tab_header messagehead">
					<li class="active"><a href="/user/message/">个人消息</a> </li>
				</ul>


			</div>
			<div class="messagelist">
                    {% for message in user_message %}              
                    <div class="messages">
                        <div class="fr">
                          <div class="top"><span class="fl time">{{ message.add_time }}</span><span class="fr btn foldbtn"></span></div>
                            <p>
                            {{ message.message }}
                            </p>
                        </div>
                    </div>
                    {% endfor %}
                


			</div>


			<div class="pageturn pagerright">
                <ul class="pagelist">
                

                
                    
                        
                            <li class="active"><a href="?page=1">1</a></li>
                        
                    
                
                

            </ul>
            </div>
		</div>

	</div>


	</div>
{% endblock %}
